<include file="Public:read"/>
<body>
<div class="headk">
    <div class="head">
        <div class="floatleft">您好<a href="__MODULE__/Usercenter/index"><b style="color:red;">{$_SESSION["username"]}</b></a>，欢迎来到金蚂蚁装修网！<span>{$data}<a href="{:U('Home/City/index')}">【切换】</a></span></div>
        <div class="floatright">
        <?php 
if($_SESSION["id"]){?>
   <a href="__MODULE__/Usercenter/index"><b style="color:red;">进入个人中心</b></a> | <a href="__MODULE__/Usercenter/layout">注销</a>
<?php }else{ ?>
<a href="{:U('Home/Login/index')}">您还未登陆,点击登陆</a>
<?php }?>
            |<a href="{:U('Home/Register/ownreg')}">个人注册</a>|<a href="{:U('Home/Register/comreg')}">装修公司注册</a>
            |<a href="{:U('Zxwd/index')}">装修问答</a>|
            <span>服务热线:400-0606-129</span>
        </div>
    </div>
</div>
<div class="topbigdiv" bigheight="132" smallheight="103">
    <div class="top">
        <div class="logo">
            <a href="http://www.zxjmy.com">
                <img
                        src="__PUBLIC__/images/logo.png"
                        height="90">
            </a>
        </div>
        <include file="Public:read"/>
    </div>
</div>
<div class="topbigdivbg"></div>
<section class="my_tiwen">
    <div class="content_wrap">
        <div class="main_content_box">
            <div class="main_container">
                <div class="global_pie">
                    <div class="global_pie_container">
                        <ul>
                            <li class="has_arrow">
                                <a href="{:U('Home/Usercenter/index')}">个人中心首页</a>
                                <span class="nav_arrow_right"></span>
                            </li>
                            <li class="has_arrow">
                                <a href="__MODULE__/Usercenter/huida">问答和帖子</a>
                                <span class="nav_arrow_right"></span>
                            </li>
                            <li>我的提问</li>
                        </ul>
                    </div>
                </div>
                <!-- 左侧菜单 -->
                <div class="mc_menu_box">
                    <h2 class="mcmb_title mcmb_title_on"><a href="{:U('Home/Usercenter/index')}">个人中心首页</a></h2>
                    <ul class="mcmb_menu">


                        <li class="parent_menu" data_status="show">
                            <a href="javascript:void(0)"><i class="pm_icon_open sprite_img1"></i>我的收藏</a>
                            <ul class="child_menu">
                                <li><a href="#">效果图<span class="collect_count">0</span></a></li>
                                <li><a href="#">户型案例</a></li>

                                <li><a href="#">帖子</a></li>
                            </ul>
                        </li>
                        <li class="parent_menu" ><a href="javascript:void(0)"><i class="pm_icon_open sprite_img1"></i>问答和帖子</a>
                            <ul class="child_menu dn">
                                <li><a href="{:U('Home/Usercenter/tiwen',array('uid'=>$arr2['id']))}">我的提问</a></li>
                                <li><a href="{:U('Home/Usercenter/huida',array('uid'=>$arr2['id']))}">我的回答</a></li>
                                <li><a href="{:U('Home/Usercenter/fatie',array('uid'=>$arr2['id']))}">我的发帖</a></li>
                            </ul>
                        </li>
                        <li class="parent_menu"><a href="javascript:void(0)"><i class="pm_icon_open sprite_img1"></i>我的个人资料</a>
                            <ul class="child_menu dn">
                                <li><a href="{:U('Home/Usercenter/changemsg',array('id'=>$arr2['id']))}">个人资料</a></li>
                                <li><a href="{:U('Home/Usercenter/repassword',array('id'=>$arr2['id']))}">修改密码</a></li>
                                <li><a href="#">绑定手机/邮箱</a></li>
                            </ul>
                        </li>

                    </ul>
                </div>
                <script type="text/javascript">
                    var jq = $;
                    jq(function()
                    {
                        menuShrinknew();
                    });
                    function menuShrinknew(){
                        jq('.parent_menu').children('a').unbind('click');
                        jq('.parent_menu').children('a').click(function(){
                            var dataStatus = jq(this).parent('.parent_menu').attr('data_status');
                            if(dataStatus=='hide'){
                                jq(this).parent('.parent_menu').find('.child_menu').show();
                                jq(this).parent('.parent_menu').attr('data_status','show');
                                jq(this).find('i').removeClass('pm_icon_close').addClass('pm_icon_open');
                            }
                            else{
                                jq(this).parent('.parent_menu').find('.child_menu').hide();
                                jq(this).parent('.parent_menu').attr('data_status','hide');
                                jq(this).find('i').removeClass('pm_icon_open').addClass('pm_icon_close');
                            }
                        });
                        jq('.child_menu li').click(function(){
                            jq('.child_menu li').removeClass('child_menu_on');
                            jq(this).addClass('child_menu_on');
                        })
                    }
                </script>            <!-- 左侧菜单 -->
                <div class="right_content">
                    <div class="clumn_name">
                        <p>我的提问</p>

                    </div>
                    <div class="decorate_rights_detail" >
                        <!--我的发帖-->
                        <ul class="answer_list" id="answerList">
                        <foreach name="arr3" item="v">
                            <li>
                                <span class="answer_topic">[{$v.name}]&nbsp;<a href="{:U('Home/Zxwd/ask_detail',array('title'=>$v['title']))}" target="_blank">{$v.title}</a><em class="stage_02"></em></span>
                                <span class="answer_detail"><a href="#" target="_blank"></a></span>
                                <span class="answer_msg">
								<p>已有0个回答</p>
								<span class="time">15分钟前</span>
							</span>
                                <div class="clear"></div>
                            </li>
                        </foreach>
                           

                        </ul>
                        <!--我的帖子-->
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>


<include file="Public:foot"/>


</body>
</html>